﻿using UnityEngine;
using System.Collections;

public class ResetButtonHandling : MonoBehaviour, ITouchable {

	// Use this for initialization
	void Start () {
        TouchableList.Instance.AddItem(this);
	}
	
	// Update is called once per frame
	void Update () {
    
    }

    public void OnTouch(Vector3 screenPosition, Vector3 worldPosition)
    {
        ResetItemList.Instance.ResetItems();
    }

    public bool HoldsTouch()
    {
        return false;
    }

    public void OnRelease(Vector3 screenPosition, Vector3 worldPosition)
    {
        return;
    }

    public GameObject GetColliderObject()
    {
        return this.gameObject;
    }


    public void OnDrag(Vector3 screenPosition, Vector3 worldPosition)
    {
        throw new System.NotImplementedException();
    }

    public bool TouchEnabled { get; set; }

}
